package com.example.student.service.factory;

import com.example.student.service.BookService;
import com.example.student.service.UserService;
import com.example.student.service.impl.BookServiceImpl;
import com.example.student.service.impl.UserServiceImpl;

/**
 * @author TonySong
 * @date 2025/8/7 0007
 * @time 19:58
 */
public class ServiceFactory {
    public static UserService createUserService(){
        return new UserServiceImpl();
    }

    public static BookService createBookService(){
        return new BookServiceImpl();
    }


}
